package array;
import java.util.Scanner;
import java.util.Arrays;

public class array_02 {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int[] a=new int[6] ;
        a[0]=sc.nextInt();
        a[1]=sc.nextInt();
        a[2]=sc.nextInt();
        a[3]=sc.nextInt();
        a[4]=sc.nextInt();
        a[5]=sc.nextInt();
        Arrays.sort(a);
        for(int j=0;j<a.length;j++){
            System.out.println(a[j]+" ");
        }

    }
}
//1
